//
//  ConsumptionViewController.m
//  SameWorld(merchant)
//
//  Created by 李小朋 on 2017/4/10.
//  Copyright © 2017年 杨旭. All rights reserved.
//

#import "ConsumptionViewController.h"
#import "ConsumptionDetailsView.h"
#import "ScanningModel.h"
@interface ConsumptionViewController ()

@end

@implementation ConsumptionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"确认消费";
    [self createUI];
}

- (void)createUI {

    ConsumptionDetailsView *consumptionView = [[ConsumptionDetailsView alloc] initWithFrame:self.view.bounds withScannimg:self.model withKeySecret:self.keySecret];
                                               
    [self.view addSubview:consumptionView];
    
}

@end
